<template>
  <div class="container">
    <Header></Header>
    <Nav></Nav>
    <div>
    </div>
    <Footer></Footer>
  </div>
</template>

<script>
import Header from '../components/header.vue'
import Nav from '../components/nav.vue'
import Footer from '../components/footer.vue'
import eventBus from '../views/eventBus'
export default {
  name: 'main_starNews',
  components: {
    Header,
    Nav,
    Footer
  },
  data() {
    return {
      main_sn1: "",
    }
  },
  created() {
    eventBus.$on('share', item => {
      this.main_sn1 = item
      // console.log(this.main_sn1)
    })
  },
  mounted() {
    setTimeout(() => {
      this.$axios.get(`/api/information/starNewsDetail/${this.main_sn1}`, {
      }).then(res => {
        console.log(res.data)
      })
    }, 300)

  },
  methods: {
  }
}
</script>

<style scoped></style>
